<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>商品更新</title>
</head>


<div style="width: 719px; height: 489px;" id="content">
<div style="height: 30px;" id="pronav"><p>商品管理&gt;增加商品</p><p></p></div>
<div style="width: 719px;" id="prolist">
<form action="/CultureSalon/goodsupdate.do" method="post" >
<input type="hidden" name="id" id="id" value="${goods.id}">

<table width="264" border="0" align="center">
  <tr>
    <td colspan="2" align="center">修改商品</td>
    </tr>
  
  <tr>
    <td width="92">商品编号:</td>
    <td width="156">
    <c:forEach items="${requestScope.goods }" var="goods" >
      <label>
        <input type="text" name="goodsNumber" id="goodsNumber" value="${goods.goodsNumber}">
      </label>
      </c:forEach>
   </td>
  </tr>
  <tr>
    <td>商品名称:</td>
    <td>
      <label>
        <input type="text" name="goodsName" id="goodsName" value="${goods.goodsName}">
      </label>
    </td>
  </tr>
  <tr>
    <td>品牌名称:</td>
    <td>
      <label>
        <input type="text" name="brandName" id="brandName" value="${goods.brandName }">
      </label>
   </td>
  </tr>
  <tr>
    <td>图片地址:</td>
    <td>
      <label>
        <input type="text" name="goodsPictureUrl" id="goodsPictureUrl" value="${goods.goodsPictureUrl }">
      </label>
   </td>
  </tr>
  <tr>
    <td>商场价格:</td>
    <td>
      <label>
        <input type="text" name="retailPrice" id="retailPrice" value="${goods.retailPrice }">
      </label>
    </td>
  </tr>
  <tr>
    <td>市场价格:</td>
    <td><label>
      <input type="text" name="marketPrice" id="marketPrice" value="${goods.marketPrice }">
    </label></td>
  </tr>
  <tr>
    <td>商品属性:</td>
    <td><label>
      <input type="text" name="goodsNature" id="goodsNature" value="${goods.goodsNature }">
    </label></td>
  </tr>
  <tr>
    <td>商品描述:</td>
    <td><label>
      <input type="text" name="goodsDesc" id="goodsDesc" value="${goods.goodsDesc}">
    </label></td>
  </tr>
  <tr>
    <td>标签:</td>
    <td><label>
      <input type="text" name="goodsTag" id="goodsTag" value="${goods.goodsTag }">
    </label></td>
  </tr>
  <tr>
    <td>库存:</td>
    <td><label>
      <input type="text" name="goodsInventory" id="goodsInventory" value="${goods.goodsInventory }">
    </label></td>
  </tr>
  <tr>
    <td>上架时间:</td>
    <td><label>
      <input type="text" name="shelfDate" id="shelfDate" value="${goods.shelfDate }">
    </label></td>
  </tr>
  <tr>
    <td>更新时间:</td>
    <td><label>
      <input type="text" name="updateDate" id="updateDate" value="${goods.updateDate }">
    </label></td>
  </tr>
  <tr>
    <td>库存预警:</td>
    <td><label>
      <input type="text" name="inventoryWarn" id="inventoryWarn" value="${goods.inventoryWarn }">
    </label></td>
  </tr>
  <tr>
    <td>推荐</td>
    <td><select id="recommend"  name="recommend"   pattern="int"  >
        <option value="0">true</option>
        
          <option value="1" >false</option>
         
        </select></td>
  </tr>
  <tr>
    <td>点击量</td>
    <td><label>
      <input type="text" name="click" id="click" value="${goods.click }">
    </label></td>
  </tr>
  <tr>
    <td>分类</td>
    <td><label>
      <input type="text" name="categoryId" id="categoryId" value="${goods.categoryId }">
    </label>
    
    </td>
  </tr>
  <tr>
    <td>
      <label>
        <input type="submit" name="submit " id="submit" value="提交 ">
      </label>
    </td>
    <td>
      <label>
        <input type="reset" name="reset " id="reset" value="重置 ">
      </label>
   </td>
  </tr>
  
</table>

</form>
</div>
</div>

